package my.learn.tx.onlyAnno.config;

import my.learn.tx.onlyAnno.config.JdbcConfig;
import my.learn.tx.onlyAnno.config.TransactionConfig;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@PropertySource(value = {"classpath:jdbc.properties"})
@Import({JdbcConfig.class, TransactionConfig.class})
@EnableTransactionManagement
@ComponentScan("my.learn.tx.onlyAnno")
public class ApplicationContextConfig {

}
